#!/bin/sh
set -o errexit

sudo apt update
sudo apt install -y wget
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -

sudo apt update && sudo apt install \
  git cmake python3-vcstool curl \
  qt5-default \
  ignition-edifice \
  -y
python3 -m pip install flask-socketio
sudo apt-get install python3-colcon*
sudo apt install python3-colcon-common-extensions
sudo apt install libwebsocketpp-dev
sudo apt install python3-pip
sudo apt install python3-shapely
sudo apt install libceres-dev
sudo apt install ros-foxy-pybind11-vendor